package com.bookcity.front.webfront.vo;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * {
 * "err_no": 0,
 * "err_tips": "success",
 * "data": {
 * "session_key": "hZy6t19VPjFqm********",
 * "openid": "V3WvSshYq9******",
 * "anonymous_openid": "",
 * "unionid": "f7510d9ab***********"
 * }
 * }
 */
@Data
@ToString
public class LoginResult implements Serializable {
    private int err_no;
    private String err_tips;
    private Data data=new Data();

    @lombok.Data
    @ToString
    public static class Data implements Serializable {
        private String session_key;
        private String openid;
        private String anonymous_openid;
        private String unionid;
    }
}

